using System;
using System.Data;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace MPR.Poker.Model.SYS
{
    public class SYS_TournamentStep
    {
        #region Member
        private Int64 m_IDSys = 0;
        private string m_StepName = string.Empty;
        private string m_ImageUrl = string.Empty;
        private int m_TournamentIDSys = 0;
        private int m_MinPlayerNumber = 0;
        private int m_MaxPlayerNumber = 0;
        private int m_MinTableNumber = 0;
        private int m_MaxTableNumber = 0;
        private decimal m_PriceTable = 0;
        private decimal m_PriceBuy = 0;
        private string m_Note = string.Empty;
        private int m_OrderIndex = 0;
        private bool m_IsDeleted = false;
        private DateTime? m_DeletedDate;
        #endregion
        #region Properties
        /// <summary>
        /// IDSys
        /// 
        /// </summary>
        [Key, DatabaseGeneratedAttribute(DatabaseGeneratedOption.Identity)]
        public Int64 IDSys
        {
            get { return m_IDSys; }
            set { m_IDSys = value; }
        }
        /// <summary>
        /// StepName
        /// Tên Step
        /// </summary>
        public string StepName
        {
            get { return m_StepName; }
            set { m_StepName = value; }
        }
        /// <summary>
        /// ImageUrl
        /// 
        /// </summary>
        public string ImageUrl
        {
            get { return m_ImageUrl; }
            set { m_ImageUrl = value; }
        }
        /// <summary>
        /// TournamentIDSys
        /// Giải đấu
        /// </summary>
        public int TournamentIDSys
        {
            get { return m_TournamentIDSys; }
            set { m_TournamentIDSys = value; }
        }
        /// <summary>
        /// MinPlayerNumber
        /// Số người chơi Min trên một bàn
        /// </summary>
        public int MinPlayerNumber
        {
            get { return m_MinPlayerNumber; }
            set { m_MinPlayerNumber = value; }
        }
        /// <summary>
        /// MaxPlayerNumber
        /// Số người chơi Max trên một bàn
        /// </summary>
        public int MaxPlayerNumber
        {
            get { return m_MaxPlayerNumber; }
            set { m_MaxPlayerNumber = value; }
        }
        /// <summary>
        /// MinTableNumber
        /// Số bàn tối thiểu
        /// </summary>
        public int MinTableNumber
        {
            get { return m_MinTableNumber; }
            set { m_MinTableNumber = value; }
        }
        /// <summary>
        /// MaxTableNumber
        /// Số bàn tối đa
        /// </summary>
        public int MaxTableNumber
        {
            get { return m_MaxTableNumber; }
            set { m_MaxTableNumber = value; }
        }
        /// <summary>
        /// PriceTable
        /// Giá mua bàn
        /// </summary>
        public decimal PriceTable
        {
            get { return m_PriceTable; }
            set { m_PriceTable = value; }
        }
        /// <summary>
        /// PriceBuy
        /// Giá mua 1 chổ
        /// </summary>
        public decimal PriceBuy
        {
            get { return m_PriceBuy; }
            set { m_PriceBuy = value; }
        }
        /// <summary>
        /// Note
        /// Ghi chú
        /// </summary>
        public string Note
        {
            get { return m_Note; }
            set { m_Note = value; }
        }
        /// <summary>
        /// OrderIndex
        /// Thứ tự
        /// </summary>
        public int OrderIndex
        {
            get { return m_OrderIndex; }
            set { m_OrderIndex = value; }
        }
        /// <summary>
        /// IsDeleted
        /// Xóa
        /// </summary>
        public bool IsDeleted
        {
            get { return m_IsDeleted; }
            set { m_IsDeleted = value; }
        }
        /// <summary>
        /// DeletedDate
        /// 
        /// </summary>
        public DateTime? DeletedDate
        {
            get { return m_DeletedDate; }
            set { m_DeletedDate = value; }
        }
        #endregion
        #region Constructor
        public SYS_TournamentStep()
        {
        }
        #endregion
        #region Column Names
        public const String colIDSys = "IDSys";
        public const String colStepName = "StepName";
        public const String colImageUrl = "ImageUrl";
        public const String colTournamentIDSys = "TournamentIDSys";
        public const String colMinPlayerNumber = "MinPlayerNumber";
        public const String colMaxPlayerNumber = "MaxPlayerNumber";
        public const String colMinTableNumber = "MinTableNumber";
        public const String colMaxTableNumber = "MaxTableNumber";
        public const String colPriceTable = "PriceTable";
        public const String colPriceBuy = "PriceBuy";
        public const String colIsDeleted = "IsDeleted";
        public const String colDeletedDate = "DeletedDate";
        #endregion
    }
}
